/*
 * File Created: 2019-11-28 22:30:33
 * Author: 余保林 (yubaolin6@outlook.com)
 * Desc: 提现管理相关接口
 * Last Modified: 2019-11-30 16:20:03
 * Modified By: 余保林 (yubaolin6@outlook.com>)
 */

import request from '@/utils/request'
import Qs from 'qs'

/**
 * 查询提现记录
 *
 * @export
 * @param {*} params
 * @returns
 */
export function withdrawQuery(params) {
  return request.get('/platform/withdraws', {params})
}

/**
 *
 *
 * @export
 * @param {*} id
 * @returns
 */
export function withdrawPay(id) {
  return request.patch(`/platform/withdraw/${id}`)
}